package com.ruoyi.energy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 能耗信息对象 energy_consumption
 * 
 * @author ruoyi
 * @date 2021-07-08
 */
public class EnergyConsumption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 主码 */
    private Long energyConsumptionId;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    private String month;

    /** 用电量 */
    @Excel(name = "用电量")
    private Long electricityAmount;

    /** 单位 默认为度 */
    @Excel(name = "单位 默认为度")
    private String electricityUnit;

    /** 用水量 */
    @Excel(name = "用水量")
    private Long waterAmount;

    /** 单位 默认为吨 */
    @Excel(name = "单位 默认为吨")
    private String waterUnit;

    /** 用气量 */
    @Excel(name = "用气量")
    private Long naturalgasAmount;

    /** 单位 默认为立方 */
    @Excel(name = "单位 默认为立方")
    private String naturalgasUnit;

    /** 用煤量 */
    @Excel(name = "用煤量")
    private Long coalAmount;

    /** 单位 默认为吨 */
    @Excel(name = "单位 默认为吨")
    private String coalUnit;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    public void setEnergyConsumptionId(Long energyConsumptionId) 
    {
        this.energyConsumptionId = energyConsumptionId;
    }

    public Long getEnergyConsumptionId() 
    {
        return energyConsumptionId;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setElectricityAmount(Long electricityAmount) 
    {
        this.electricityAmount = electricityAmount;
    }

    public Long getElectricityAmount() 
    {
        return electricityAmount;
    }
    public void setElectricityUnit(String electricityUnit) 
    {
        this.electricityUnit = electricityUnit;
    }

    public String getElectricityUnit() 
    {
        return electricityUnit;
    }
    public void setWaterAmount(Long waterAmount) 
    {
        this.waterAmount = waterAmount;
    }

    public Long getWaterAmount() 
    {
        return waterAmount;
    }
    public void setWaterUnit(String waterUnit) 
    {
        this.waterUnit = waterUnit;
    }

    public String getWaterUnit() 
    {
        return waterUnit;
    }
    public void setNaturalgasAmount(Long naturalgasAmount) 
    {
        this.naturalgasAmount = naturalgasAmount;
    }

    public Long getNaturalgasAmount() 
    {
        return naturalgasAmount;
    }
    public void setNaturalgasUnit(String naturalgasUnit) 
    {
        this.naturalgasUnit = naturalgasUnit;
    }

    public String getNaturalgasUnit() 
    {
        return naturalgasUnit;
    }
    public void setCoalAmount(Long coalAmount) 
    {
        this.coalAmount = coalAmount;
    }

    public Long getCoalAmount() 
    {
        return coalAmount;
    }
    public void setCoalUnit(String coalUnit) 
    {
        this.coalUnit = coalUnit;
    }

    public String getCoalUnit() 
    {
        return coalUnit;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("energyConsumptionId", getEnergyConsumptionId())
            .append("year", getYear())
            .append("month", getMonth())
            .append("electricityAmount", getElectricityAmount())
            .append("electricityUnit", getElectricityUnit())
            .append("waterAmount", getWaterAmount())
            .append("waterUnit", getWaterUnit())
            .append("naturalgasAmount", getNaturalgasAmount())
            .append("naturalgasUnit", getNaturalgasUnit())
            .append("coalAmount", getCoalAmount())
            .append("coalUnit", getCoalUnit())
            .append("note", getNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
